Skip to content

Failing test: decoding object key with embeded "#15

Merged
davecheney merged 1 commit intopkg:mainfrom
dolmen-go:testBadMapKey
May 4, 2026
Merged

Failing test: decoding object key with embeded "#15
davecheney merged 1 commit intopkg:mainfrom
dolmen-go:testBadMapKey

Conversation

@dolmen
Copy link
Copy Markdown
Contributor

@dolmen dolmen commented Jan 24, 2023

This PR contains a failing test for an incorrect decoding of object key containing ".

Test case:

{"a\"b":0}

Copy link
Copy Markdown
Member

@davecheney davecheney left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch. object keys can be strings, which means the can include escaped characters. (the horror)

@davecheney davecheney merged commit d01af5d into pkg:main May 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants